Advanced Architecting on AWS
Route 53 โข Global Accelerator โข Shield โข WAF โข Multi-Region
| Feature | Global Accelerator | CloudFront |
|---|---|---|
| Protocol | TCP/UDP (any protocol) | HTTP/HTTPS (web content) |
| Caching | No caching | Edge caching |
| Use case | Gaming, IoT, VoIP, non-HTTP apps | Web apps, APIs, static content |
| Static IPs | 2 anycast IPs (fixed) | Varies by edge location |
| Health checks | Yes โ automatic failover | Origin failover groups |
| Performance | AWS backbone from nearest edge | AWS backbone + caching |
Shield Standard (Free)
Automatic protection against L3/L4 DDoS. Included for all AWS customers. Protects against SYN floods, UDP reflection, etc.
Shield Advanced ($3,000/mo)
24/7 DDoS Response Team (DRT). Cost protection (refund scaling costs). Advanced metrics. L7 detection. WAF included at no extra cost.
Active-Passive
Primary region handles all traffic. Secondary on standby. Route 53 failover routing. RPO: minutes. RTO: minutes.
Active-Active
Both regions serve traffic. Latency-based routing. DynamoDB Global Tables for data. RPO: near-zero. RTO: near-zero.
Pilot Light
Core services always running (DB replicas). Scale up compute on failover. Lower cost than full standby.
Warm Standby
Scaled-down copy in secondary region. Scale up on failover. Balance of cost and recovery speed.
# Create a rate-based rule (block if >2000 requests/5min) aws wafv2 create-rule-group --name rate-limit --scope REGIONAL \ --capacity 10 --rules '[{"Name":"RateLimit","Priority":1, "Statement":{"RateBasedStatement":{"Limit":2000,"AggregateKeyType":"IP"}}, "Action":{"Block":{}},"VisibilityConfig":{...}}]' # List managed rule groups aws wafv2 list-available-managed-rule-groups --scope REGIONAL # Associate WAF Web ACL with ALB aws wafv2 associate-web-acl --web-acl-arn arn:aws:wafv2:... \ --resource-arn arn:aws:elasticloadbalancing:...
Q1: A company experiences a large volumetric DDoS attack on their CloudFront distribution. They want AWS experts to help mitigate and protect against scaling cost spikes. What do they need?
A) Shield Standard + WAF B) Shield Advanced C) GuardDuty D) AWS Firewall Manager only
Q2: A gaming company needs static IP addresses for their real-time UDP-based game servers while routing players to the nearest region. What should they use?
A) CloudFront B) Route 53 latency routing C) AWS Global Accelerator D) ALB
Route 53
Failover, latency, geolocation routing. Health checks drive automatic failover. Multi-region DNS.
Shield & WAF
Shield Standard (free L3/L4). Shield Advanced ($3K/mo, DRT, cost protection). WAF: managed + custom rules.
Global Accelerator
TCP/UDP anycast. 2 static IPs. AWS backbone routing. Health-check failover. Non-HTTP workloads.
Multi-Region
Active-active, active-passive, pilot light, warm standby. Choose based on RPO/RTO/cost trade-offs.